<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        .outter {
            width: 200px;
            height: 200px;
            background-color: gray;
            overflow: hidden;
        }
        .inner {
            width: 100px;
            height: 100px;
            background-color: orange;
            margin: 0 auto;
            margin-top: 25px;
            text-align: center;
            line-height: 100px;
        }
    </style>

</head>

<body>
    <div class="outter">
        outter
        <div class="inner">inner</div>
    </div>
</body>

</html>